﻿using System.Collections.Generic;

namespace Ksx.KoCTool.Tabs.Reports {
// ReSharper disable InconsistentNaming
	public class ListReportData {
		public bool ok { get; set; }
		public string error_code { get; set; }
		public long totalPages { get; set; }

		public Dictionary<string,ListReportItemData> arReports { get; set; }
		public Dictionary<string,string> arPlayerNames { get; set; }
		public Dictionary<string,string> arCityNames { get; set; }
		public Dictionary<string,string> arAllianceNames { get; set; }
		
	}
	public class ListReportItemData {
		// reportType: "0"
		// reportId: "34036398"
		// reportUnixTime: "1338028307"
		// side0XCoord: "604"
		// side0YCoord: "610"
		// side0TileType: "51"
		// side0TileLevel: "12"
		// side0CityId: "56297"
		// side0PlayerId: "14177235"
		// side0AllianceId: "0"
		// side1XCoord: "602"
		// side1YCoord: "601"
		// side1CityId: "38409"
		// side1PlayerId: "9675639"
		// side1AllianceId: "2288"
		// marchType: "4"
		// marchTypeState: "2"
		// reportStatus: "2"
		public string reportType { get; set; }
		public string reportId { get; set; }
		public long reportUnixTime { get; set; }

		public string side0XCoord { get; set; }
		public string side0YCoord { get; set; }
		public string side0TileType { get; set; }
		public string side0TileLevel { get; set; }
		public long side0CityId { get; set; }
		public long side0PlayerId { get; set; }
		public long side0AllianceId { get; set; }

		public string side1XCoord { get; set; }
		public string side1YCoord { get; set; }
		public long side1CityId { get; set; }
		public long side1PlayerId { get; set; }
		public long side1AllianceId { get; set; }

		public string marchType { get; set; }
		public string marchTypeState { get; set; }
		public string reportStatus { get; set; }

	}

	// ReSharper restore InconsistentNaming
}
/*
[Scriptish] KSX/Breconium-KoC: 
12:30:10.803: 
Client_AjaxRequest MyAjaxRequest onSuccess
	MID:1
	url:ajax/listReports.php
rslt: {} -->
rslt.ok: true
rslt.totalPages: 127
rslt.arReports: {} -->
rslt.arReports.0r34036398: {} -->
rslt.arReports.0r34036398.reportType: "0"
rslt.arReports.0r34036398.reportId: "34036398"
rslt.arReports.0r34036398.reportUnixTime: "1338028307"
rslt.arReports.0r34036398.side0XCoord: "604"
rslt.arReports.0r34036398.side0YCoord: "610"
rslt.arReports.0r34036398.side0TileType: "51"
rslt.arReports.0r34036398.side0TileLevel: "12"
rslt.arReports.0r34036398.side0CityId: "56297"
rslt.arReports.0r34036398.side0PlayerId: "14177235"
rslt.arReports.0r34036398.side0AllianceId: "0"
rslt.arReports.0r34036398.side1XCoord: "602"
rslt.arReports.0r34036398.side1YCoord: "601"
rslt.arReports.0r34036398.side1CityId: "38409"
rslt.arReports.0r34036398.side1PlayerId: "9675639"
rslt.arReports.0r34036398.side1AllianceId: "2288"
rslt.arReports.0r34036398.marchType: "4"
rslt.arReports.0r34036398.marchTypeState: "2"
rslt.arReports.0r34036398.reportStatus: "2"
rslt.arReports.0r34036393: {} -->
rslt.arReports.0r34036393.reportType: "0"
rslt.arReports.0r34036393.reportId: "34036393"
rslt.arReports.0r34036393.reportUnixTime: "1338028299"
rslt.arReports.0r34036393.side0XCoord: "597"
rslt.arReports.0r34036393.side0YCoord: "299"
rslt.arReports.0r34036393.side0TileType: "51"
rslt.arReports.0r34036393.side0TileLevel: "11"
rslt.arReports.0r34036393.side0CityId: "7690"
rslt.arReports.0r34036393.side0PlayerId: "13411747"
rslt.arReports.0r34036393.side0AllianceId: "2466"
rslt.arReports.0r34036393.side1XCoord: "600"
rslt.arReports.0r34036393.side1YCoord: "297"
rslt.arReports.0r34036393.side1CityId: "71955"
rslt.arReports.0r34036393.side1PlayerId: "13363339"
rslt.arReports.0r34036393.side1AllianceId: "2288"
rslt.arReports.0r34036393.marchType: "4"
rslt.arReports.0r34036393.marchTypeState: "2"
rslt.arReports.0r34036388: {} -->
rslt.arReports.0r34036388.reportType: "0"
rslt.arReports.0r34036388.reportId: "34036388"
rslt.arReports.0r34036388.reportUnixTime: "1338028286"
rslt.arReports.0r34036388.side0XCoord: "597"
rslt.arReports.0r34036388.side0YCoord: "299"
rslt.arReports.0r34036388.side0TileType: "51"
rslt.arReports.0r34036388.side0TileLevel: "11"
rslt.arReports.0r34036388.side0CityId: "7690"
rslt.arReports.0r34036388.side0PlayerId: "13411747"
rslt.arReports.0r34036388.side0AllianceId: "2466"
rslt.arReports.0r34036388.side1XCoord: "600"
rslt.arReports.0r34036388.side1YCoord: "297"
rslt.arReports.0r34036388.side1CityId: "71955"
rslt.arReports.0r34036388.side1PlayerId: "13363339"
rslt.arReports.0r34036388.side1AllianceId: "2288"
rslt.arReports.0r34036388.marchType: "4"
rslt.arReports.0r34036388.marchTypeState: "2"
rslt.arReports.0r34036307: {} -->
rslt.arReports.0r34036307.reportType: "0"
rslt.arReports.0r34036307.reportId: "34036307"
rslt.arReports.0r34036307.reportUnixTime: "1338028202"
rslt.arReports.0r34036307.side0XCoord: "597"
rslt.arReports.0r34036307.side0YCoord: "299"
rslt.arReports.0r34036307.side0TileType: "51"
rslt.arReports.0r34036307.side0TileLevel: "11"
rslt.arReports.0r34036307.side0CityId: "7690"
rslt.arReports.0r34036307.side0PlayerId: "13411747"
rslt.arReports.0r34036307.side0AllianceId: "2466"
rslt.arReports.0r34036307.side1XCoord: "600"
rslt.arReports.0r34036307.side1YCoord: "297"
rslt.arReports.0r34036307.side1CityId: "71955"
rslt.arReports.0r34036307.side1PlayerId: "13363339"
rslt.arReports.0r34036307.side1AllianceId: "2288"
rslt.arReports.0r34036307.marchType: "4"
rslt.arReports.0r34036307.marchTypeState: "2"
rslt.arReports.0r34036306: {} -->
rslt.arReports.0r34036306.reportType: "0"
rslt.arReports.0r34036306.reportId: "34036306"
rslt.arReports.0r34036306.reportUnixTime: "1338028189"
rslt.arReports.0r34036306.side0XCoord: "597"
rslt.arReports.0r34036306.side0YCoord: "299"
rslt.arReports.0r34036306.side0TileType: "51"
rslt.arReports.0r34036306.side0TileLevel: "11"
rslt.arReports.0r34036306.side0CityId: "7690"
rslt.arReports.0r34036306.side0PlayerId: "13411747"
rslt.arReports.0r34036306.side0AllianceId: "2466"
rslt.arReports.0r34036306.side1XCoord: "600"
rslt.arReports.0r34036306.side1YCoord: "297"
rslt.arReports.0r34036306.side1CityId: "71955"
rslt.arReports.0r34036306.side1PlayerId: "13363339"
rslt.arReports.0r34036306.side1AllianceId: "2288"
rslt.arReports.0r34036306.marchType: "4"
rslt.arReports.0r34036306.marchTypeState: "2"
rslt.arReports.0r34036258: {} -->
rslt.arReports.0r34036258.reportType: "0"
rslt.arReports.0r34036258.reportId: "34036258"
rslt.arReports.0r34036258.reportUnixTime: "1338028164"
rslt.arReports.0r34036258.side0XCoord: "604"
rslt.arReports.0r34036258.side0YCoord: "610"
rslt.arReports.0r34036258.side0TileType: "51"
rslt.arReports.0r34036258.side0TileLevel: "12"
rslt.arReports.0r34036258.side0CityId: "56297"
rslt.arReports.0r34036258.side0PlayerId: "14177235"
rslt.arReports.0r34036258.side0AllianceId: "0"
rslt.arReports.0r34036258.side1XCoord: "602"
rslt.arReports.0r34036258.side1YCoord: "601"
rslt.arReports.0r34036258.side1CityId: "38409"
rslt.arReports.0r34036258.side1PlayerId: "9675639"
rslt.arReports.0r34036258.side1AllianceId: "2288"
rslt.arReports.0r34036258.marchType: "4"
rslt.arReports.0r34036258.marchTypeState: "2"
rslt.arReports.0r34036258.reportStatus: "2"
rslt.arReports.0r34036242: {} -->
rslt.arReports.0r34036242.reportType: "0"
rslt.arReports.0r34036242.reportId: "34036242"
rslt.arReports.0r34036242.reportUnixTime: "1338028142"
rslt.arReports.0r34036242.side0XCoord: "604"
rslt.arReports.0r34036242.side0YCoord: "610"
rslt.arReports.0r34036242.side0TileType: "51"
rslt.arReports.0r34036242.side0TileLevel: "12"
rslt.arReports.0r34036242.side0CityId: "56297"
rslt.arReports.0r34036242.side0PlayerId: "14177235"
rslt.arReports.0r34036242.side0AllianceId: "0"
rslt.arReports.0r34036242.side1XCoord: "602"
rslt.arReports.0r34036242.side1YCoord: "601"
rslt.arReports.0r34036242.side1CityId: "38409"
rslt.arReports.0r34036242.side1PlayerId: "9675639"
rslt.arReports.0r34036242.side1AllianceId: "2288"
rslt.arReports.0r34036242.marchType: "4"
rslt.arReports.0r34036242.marchTypeState: "2"
rslt.arReports.0r34036242.reportStatus: "2"
rslt.arReports.0r34036202: {} -->
rslt.arReports.0r34036202.reportType: "0"
rslt.arReports.0r34036202.reportId: "34036202"
rslt.arReports.0r34036202.reportUnixTime: "1338028101"
rslt.arReports.0r34036202.side0XCoord: "604"
rslt.arReports.0r34036202.side0YCoord: "610"
rslt.arReports.0r34036202.side0TileType: "51"
rslt.arReports.0r34036202.side0TileLevel: "12"
rslt.arReports.0r34036202.side0CityId: "56297"
rslt.arReports.0r34036202.side0PlayerId: "14177235"
rslt.arReports.0r34036202.side0AllianceId: "0"
rslt.arReports.0r34036202.side1XCoord: "602"
rslt.arReports.0r34036202.side1YCoord: "601"
rslt.arReports.0r34036202.side1CityId: "38409"
rslt.arReports.0r34036202.side1PlayerId: "9675639"
rslt.arReports.0r34036202.side1AllianceId: "2288"
rslt.arReports.0r34036202.marchType: "4"
rslt.arReports.0r34036202.marchTypeState: "2"
rslt.arReports.0r34036202.reportStatus: "2"
rslt.arReports.0r34036196: {} -->
rslt.arReports.0r34036196.reportType: "0"
rslt.arReports.0r34036196.reportId: "34036196"
rslt.arReports.0r34036196.reportUnixTime: "1338028101"
rslt.arReports.0r34036196.side0XCoord: "597"
rslt.arReports.0r34036196.side0YCoord: "299"
rslt.arReports.0r34036196.side0TileType: "51"
rslt.arReports.0r34036196.side0TileLevel: "11"
rslt.arReports.0r34036196.side0CityId: "7690"
rslt.arReports.0r34036196.side0PlayerId: "13411747"
rslt.arReports.0r34036196.side0AllianceId: "2466"
rslt.arReports.0r34036196.side1XCoord: "600"
rslt.arReports.0r34036196.side1YCoord: "297"
rslt.arReports.0r34036196.side1CityId: "71955"
rslt.arReports.0r34036196.side1PlayerId: "13363339"
rslt.arReports.0r34036196.side1AllianceId: "2288"
rslt.arReports.0r34036196.marchType: "4"
rslt.arReports.0r34036196.marchTypeState: "2"
rslt.arReports.0r34036173: {} -->
rslt.arReports.0r34036173.reportType: "0"
rslt.arReports.0r34036173.reportId: "34036173"
rslt.arReports.0r34036173.reportUnixTime: "1338028079"
rslt.arReports.0r34036173.side0XCoord: "604"
rslt.arReports.0r34036173.side0YCoord: "610"
rslt.arReports.0r34036173.side0TileType: "51"
rslt.arReports.0r34036173.side0TileLevel: "12"
rslt.arReports.0r34036173.side0CityId: "56297"
rslt.arReports.0r34036173.side0PlayerId: "14177235"
rslt.arReports.0r34036173.side0AllianceId: "0"
rslt.arReports.0r34036173.side1XCoord: "602"
rslt.arReports.0r34036173.side1YCoord: "601"
rslt.arReports.0r34036173.side1CityId: "38409"
rslt.arReports.0r34036173.side1PlayerId: "9675639"
rslt.arReports.0r34036173.side1AllianceId: "2288"
rslt.arReports.0r34036173.marchType: "4"
rslt.arReports.0r34036173.marchTypeState: "2"
rslt.arReports.0r34036173.reportStatus: "2"
rslt.arPlayerNames: {} -->
rslt.arPlayerNames.p14177235: "pandong"
rslt.arPlayerNames.g14177235: "M"
rslt.arPlayerNames.p9675639: "kux"
rslt.arPlayerNames.g9675639: "M"
rslt.arPlayerNames.p13411747: "Jeanne_d_Arc"
rslt.arPlayerNames.g13411747: "F"
rslt.arPlayerNames.p13363339: "heady"
rslt.arPlayerNames.g13363339: "M"
rslt.arCityNames: {} -->
rslt.arCityNames.c56297: "Rammstein"
rslt.arCityNames.c38409: "kAria"
rslt.arCityNames.c7690: "The I"
rslt.arCityNames.c71955: "Treblinka II"
rslt.arAllianceNames: {} -->
rslt.arAllianceNames.a2288: "Unbreakable Praetorians"
rslt.arAllianceNames.a2466: "Legendary Brotherhood"

*/